/**
 * 自动生成！请勿修改！
 */
import { command } from '../core/command';

class StandFan {
    constructor(opt = {}) {
        const { device, to, ...opts } = opt;

        this.device = device || {};
        this.opts = opts || {};
        this._to = to;
    }

    get categoryCode() {
        return '010030019';
    }

    get categoryName() {
        return '\u843d\u5730\u6247';
    }

    getAngle(params) {
        return command({
            method: 'getAngle',
            methodId: 'U9KmRq2P',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getAnion(params) {
        return command({
            method: 'getAnion',
            methodId: 'U8OTQxm5',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getChildLock(params) {
        return command({
            method: 'getChildLock',
            methodId: 'URPrgb9m',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getGear(params) {
        return command({
            method: 'getGear',
            methodId: 'pqYhWwNI',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getOscillatingRange(params) {
        return command({
            method: 'getOscillatingRange',
            methodId: 'UODeXy3K',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getOscillatingSwitch(params) {
        return command({
            method: 'getOscillatingSwitch',
            methodId: 'UaMCfj1M',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getScreenSwitch(params) {
        return command({
            method: 'getScreenSwitch',
            methodId: 'UvxDpirl',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSmart(params) {
        return command({
            method: 'getSmart',
            methodId: 'U5sukkiw',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getStrong(params) {
        return command({
            method: 'getStrong',
            methodId: 'UCb2x1tU',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getSwitch(params) {
        return command({
            method: 'getSwitch',
            methodId: 'pXZu75UR',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getTipOverRange(params) {
        return command({
            method: 'getTipOverRange',
            methodId: 'UmaS3Oen',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getTipOverSwitch(params) {
        return command({
            method: 'getTipOverSwitch',
            methodId: 'Unfcbf79',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWindDirection(params) {
        return command({
            method: 'getWindDirection',
            methodId: 'pWG01FOE',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWindSpeed(params) {
        return command({
            method: 'getWindSpeed',
            methodId: 'pNnZEPYz',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    getWorkMode(params) {
        return command({
            method: 'getWorkMode',
            methodId: 'pj7xBmgW',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setAnion(params) {
        return command({
            method: 'setAnion',
            methodId: 'pkp1q4Mq',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setChildLock(params) {
        return command({
            method: 'setChildLock',
            methodId: 'pz93i0Wk',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setGear(params) {
        return command({
            method: 'setGear',
            methodId: 'pZgRT3Ed',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setManualOscillating(params) {
        return command({
            method: 'setManualOscillating',
            methodId: 'pdN7zsix',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setManualTipOver(params) {
        return command({
            method: 'setManualTipOver',
            methodId: 'ptRS9D2G',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setOscillatingRange(params) {
        return command({
            method: 'setOscillatingRange',
            methodId: 'phEqKYu3',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setOscillatingSwitch(params) {
        return command({
            method: 'setOscillatingSwitch',
            methodId: 'pgh0mcQV',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setScreenSwitch(params) {
        return command({
            method: 'setScreenSwitch',
            methodId: 'p3deoutb',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSmart(params) {
        return command({
            method: 'setSmart',
            methodId: 'p0crOKb1',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setStrong(params) {
        return command({
            method: 'setStrong',
            methodId: 'pBTQtlLo',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setSwitch(params) {
        return command({
            method: 'setSwitch',
            methodId: 'peH3nfNC',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setTipOverRange(params) {
        return command({
            method: 'setTipOverRange',
            methodId: 'pDrhFbrS',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setTipOverSwitch(params) {
        return command({
            method: 'setTipOverSwitch',
            methodId: 'p1vFjx3L',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWindDirection(params) {
        return command({
            method: 'setWindDirection',
            methodId: 'pGoxHG1Z',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWindSpeed(params) {
        return command({
            method: 'setWindSpeed',
            methodId: 'pUPQ8V5r',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }

    setWorkMode(params) {
        return command({
            method: 'setWorkMode',
            methodId: 'ppAXISOA',
            params,
            to: this.to?.[this.i] || this.to,
        });
    }
}

export default StandFan;
